import request from '@/api/request'
//关闭订单
function closeOrder(kv){
  return request({
    url:'/api/leju/admin/orderBack/closeOrder',
    method:'POST',
    kv
  })
}
//拒绝退单
function rejectOrder(kv){
  return request({
    url:'/api/leju/admin/orderBack/rejectBack',
    method:'POST',
    kv

  })
}
//退单完成
function orderDone(kv){
  return request({
    url:'/api/leju/admin/orderBack/backDone',
    method:'POST',
    kv
  })
}
//退单明细
function orderDetail(kv){
  return request({
    url:'/api/leju/admin/orderBack/detail',
    method:'GET',
    kv

  })
}
//同意退款
function agreeBank(kv){
  return request({
    url:'/api/leju/admin/orderBack/agreeBack',
    method:'POST',
    kv

  })
}
//退单列表
function orderList(kv){
  return request({
    url:'/api/leju/admin/orderBack/list',
    method:'GET',
    kv

  })
}
export default {
  closeOrder,
  rejectOrder,
  orderDone,
  orderDetail,
  agreeBank,
  orderList



}
